package com.contact.view;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.contact.R;
import com.zxing.activity.CaptureActivity;

public class HomeSettintActivity extends Activity
{
	private Button scan;
	public void onCreate(Bundle savedInstanceState)
	{

		super.onCreate(savedInstanceState);
		setContentView(R.layout.home_setting_page);

		scan = (Button)findViewById(R.id.scan);
		scan.setOnClickListener(new OnClickListener()
		{
			
			@Override
			public void onClick(View v)
			{
				// TODO Auto-generated method stub
				Intent openCameraIntent = new Intent(HomeSettintActivity.this,CaptureActivity.class);
				startActivityForResult(openCameraIntent, 0);
			}
		});
	}

}
